package com.yzd.crm.dao;

import com.yzd.crm.domain.LinkMan;
import org.hibernate.criterion.DetachedCriteria;

import java.util.List;

/**
 * @Auther: Ye Zhengdong
 * @Date: 2019/4/5 17:37
 * @Description:
 */
public interface LinkManDao {

    void save(LinkMan linkMan);

    List<LinkMan> findAll();

    List<LinkMan> findByDc(DetachedCriteria dc);

    LinkMan findById(Integer lkmId);

    void update(LinkMan linkMan);

    void delete(LinkMan linkMan);

    int findCount(DetachedCriteria dc);

    List<LinkMan> findPage(DetachedCriteria dc, int start, Integer pageSize);
}
